.cs-menu {
    height: 100%;
    position: relative;

    .side-block {
        width: 50px;
        height: 100%;
        background-color: black;
    }

    .mene-switch {
        background: #f00;
        display: block;
        width: 50px;
        height: 50px;
        background: #f00;
        line-height: 50px;
        text-align: center;

        i {
            font-size: 20px;
            color: #fff;
            cursor: pointer;
        }
    }

    .modular-item {
        position: relative;
        cursor: pointer;
    }

    .child-item:hover {
        background: rgb(230, 230, 230);
    }

    .child-item {
        height: 35px;
        overflow: hidden;
        text-overflow: ellipsis;

        i {
            margin: 0 10px 0 15px;
            display: inline-block;
        }
    }


    .modular-icon {
        display: block;
        width: 50px;
        height: 50px;
        // background: #f00;
        line-height: 50px;
        text-align: center;

        i {
            font-size: 20px;
            color: #fff;
            cursor: pointer;
        }
    }

    .modular-box {
        width: 160px;
        padding: 8px 0;
        position: absolute;
        left: 53px;
        top: 10px;
        line-height: 35px;
        background-color: #fff;
        box-sizing: border-box;
        border-radius: 4px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 20%);

        &::after {
            content: "";
            width: 0;
            height: 0;
            display: block;
            position: absolute;
            left: -9px;
            top: 7px;
            border-top: 10px solid transparent;
            border-right: 10px solid #fff;
            border-bottom: 10px solid transparent;
        }
    }

    .mask {
        height: calc(~"100% - 50px");
        width: 100vw;
        position: absolute;
        left: 0;
        top: 50px;
        background: #999;
    }

    .menu-box {
        height: 100%;
        width: 400px;
        position: absolute;
        left: 0;
        top: 0;
        background-color: #f7f7f7;
    }
}